/**
 * Copyright 2025 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

@import url("./spectrum-coachmark.css");
@import url("./coachmark-overrides.css");

:host {
    /** custom to coachmark should be removed once keys component is developed by CSS **/
    --spectrum-coachmark-dimension-size-175: 14px;
    --spectrum-coachmark-dimension-size-200: 16px;
    --spectrum-coachmark-dimension-size-100: 8px;
    --spectrum-coachmark-dimension-size-50: 4px;

    /** remove once font fixes are done from css team **/

    --spectrum-coachmark-content-font-family: var(--spectrum-font-family);
}

/* These css needs to be added from css team once the keys component is created */
.keyboard-shortcut {
    align-items: center;
    background-color: var(--spectrum-gray-200);
    border: var(--spectrum-text-underline-gap) solid var(--spectrum-gray-200);
    border-radius: var(--spectrum-spacing-75);
    color: var(--spectrum-gray-800);
    display: inline-flex;
    flex-flow: row;
    justify-content: center;
    min-width: var(--spectrum-badge-min-width);
    padding-block: var(--spectrum-coachmark-dimension-size-50);
    padding-inline: var(--spectrum-coachmark-dimension-size-100);
}

.keys {
    align-items: center;
    gap: var(--spectrum-coachmark-dimension-size-175) var(--spectrum-coachmark-dimension-size-50);
    display: flex;
    flex-flow: wrap;
    font-family: var(--mod-body-sans-serif-font-family, var(--spectrum-body-sans-serif-font-family));
}

.flex-container {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spectrum-coachmark-dimension-size-175) var(--spectrum-coachmark-dimension-size-200);
}

.static-item {
    flex: 0;
    align-self: flex-start;
}

#cover-photo {
    display: contents;
}
